Skip to content

Conversation

@meilu-git
Copy link
Collaborator

ocp cosesign decode/verify

@parvathib parvathib requested review from mhatrevi and swenson January 6, 2026 19:48
Copy link
Collaborator

@parvathib parvathib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@swenson swenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with merging this but we should maybe try to clean up the workspace in a follow-up if so.

@parvathib parvathib requested a review from fdamato January 9, 2026 22:08
Comment on lines +6 to +11
use openssl::{
bn::{BigNum, BigNumContext},
ec::{EcGroup, EcKey, EcPoint},
nid::Nid,
pkey::PKey,
x509::X509,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps in a different PR we can abstract crypto interface

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree! we'll abstract the crypto interface in the upcoming PRs.

))
}

/// Extract raw P-384 public key coordinates (x, y) from DER X.509 cert
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider to make this generic... we`re going to have MLDSA profile too, as soon as it will get ratified

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed—we’ll generalize how the verification key is extracted in future PRs.

@parvathib parvathib merged commit 444e148 into main Jan 14, 2026
4 checks passed
@parvathib parvathib deleted the meilu/ocp_cosesign_verify_clean branch January 14, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants